import unittest
from BeautifulReport import BeautifulReport
from zhou2.test_login import Test_01


jt = unittest.defaultTestLoader.discover(start_dir='./',pattern='test_login.py')

repoer = BeautifulReport(jt)
repoer.report(filename='jiuxian.log',description='报告')